package com.knight.orm.demo;

import javax.persistence.Column;
import javax.persistence.Table;

@Table(name = "t_order")
public class Order {

    private Long id;
    @Column(name = "memberId")
    private Long mId;
    private String detail;
    private Long createTime;
    private String createTimeFmt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getmId() {
        return mId;
    }

    public void setmId(Long mId) {
        this.mId = mId;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public String getCreateTimeFmt() {
        return createTimeFmt;
    }

    public void setCreateTimeFmt(String createTimeFmt) {
        this.createTimeFmt = createTimeFmt;
    }

    @Override
    public String toString() {
        return "Order{" +
                "id=" + id +
                ", mId=" + mId +
                ", detail='" + detail + '\'' +
                ", createTime=" + createTime +
                ", createTimeFmt='" + createTimeFmt + '\'' +
                '}';
    }
}
